<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录界面</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            background-color: #f0f0f0;
            margin: 0;
        }
        .login-container {
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            width: 300px;
        }
        .login-container h2 {
            margin-bottom: 20px;
            text-align: center;
        }
        .login-container label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
        }
        .login-container input[type="text"],
        .login-container input[type="password"] {
            width: calc(100% - 22px);
            padding: 10px;
            margin-bottom: 20px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }
        .login-container input[type="checkbox"] {
            margin-right: 8px;
        }
        .login-container input[type="submit"] {
            width: 100%;
            padding: 10px;
            background-color: #007BFF;
            border: none;
            border-radius: 4px;
            color: #fff;
            font-size: 16px;
            cursor: pointer;
        }
        .login-container input[type="submit"]:hover {
            background-color: #0056b3;
        }

        .form-container {
            margin-bottom: 20px;
        }
    </style>
</head>
<body>
<div class="login-container">
    <h2>欢迎登录投诉管理系统</h2>
    <div class="form-container" id="login-form">
        <form action="/user/login" method="post">
            <label for="admin-login">管理员</label>
            <input type="checkbox" id="admin-login" name="admin" value="manager"><br><br>
            <label for="username-login">用户名</label>
            <input type="text" id="username-login" name="username" required><br><br>
            <label for="password-login">密码</label>
            <input type="password" id="password-login" name="password" required>
            <a href="register.html">注册</a>
            <br><br>
            <input type="submit" value="登录">
        </form>
    </div>
</div>
</body>
</html>